.Collectingscenes {
    width: 100%;
    height: 220px;
    // background: red;/
    overflow: hidden;
    position: relative;

    .Summerul {
        display: flex; // 使用 flexbox 代替 float
        width: 5000px;
        height: 200px;
        margin-top: 20px;
        transition: transform 0.5s ease;

        li {
            width: 180px;
            height: 100px;
            margin-right: 20px;
            border-radius: 5px;
            text-align: center;
            position: relative;
            background: #f5f7fd;

            h4 {
                margin-top: 25px;
            }

            img {
                height: 50px;
                transition: transform 0.3s ease;
                border-radius: 5px;
                margin-top: 20px;
            }

            .overlay {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-color: rgba(0, 0, 0, 0.5); // 半透明黑色背景
                display: flex;
                align-items: center;
                justify-content: center;
                opacity: 0;
                transition: opacity 0.3s ease;
                border-radius: 5px;
                pointer-events: none; // 防止遮罩层影响其他元素的交互

                .img {
                    width: 40px;
                    height: 40px;
                    position: absolute;
                    left: 5px;
                    bottom: 55px;
                    z-index: 99;
                }
                .img1 {
                    width: 30px;
                    height: 30px;
                    position: absolute;
                    left: 100px;
                    bottom: 63px;
                    z-index: 99;
                }
                .img2 {
                    width: 30px;
                    height: 30px;
                    position: absolute;
                    left: 140px;
                    bottom: 60px;
                    z-index: 99;
                }
                .overlayleft {
                    width: 30px;
                    height: 30px;
                    background: #fff;
                    border-radius: 5px;
                    position: absolute;
                    left: 10px;
                    top: 10px;
                    color: #000 !important;

                }

                .overlayright {
                    width: 30px;
                    height: 30px;
                    background: #fff;
                    border-radius: 5px;
                    position: absolute;
                    right: 10px;
                    top: 10px;

                }

                .overlayright1 {
                    width: 30px;
                    height: 30px;
                    background: #fff;
                    border-radius: 5px;
                    position: absolute;
                    right: 50px;
                    top: 10px;

                }
            }
        }
    }

    .arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: #fff;
        color: #000;
        text-align: center;
        line-height: 40px;
        cursor: pointer;
        font-size: 24px;
        border-radius: 50%;
        z-index: 1;

        &.left {
            left: 10px;
        }

        &.right {
            right: 10px;
        }
    }

    .arrow.hidden {
        display: none;
    }
}

.Collectingscenes .Summerul li:hover .overlay {
    opacity: 1; // 鼠标悬停时显示遮罩
}